jurisdiction of criminal courts in inquiries and trials